<!--
  描述：...
  作者：...
  日期：...
-->
#set(jstree = false)
#set(webuploader = false)
#set(wangeditor = false)
#set(echarts = false)
#set(bootstraptable = true)

#@mgtlayout()
#define main()
<div class="wrapper">
    <div class="profile container " style="margin-top: 0px">

        <div class="panel-body"  style="padding-bottom: 1px;">
            <form class="form-horizontal" id="search">

                <div class="form-group">

                    <div class="col-sm-5">

                        <!-- 自定义搜索框 -->

                        <input type="text" name="search-input" id="search-input"  class="form-control" placeholder="请输入可信账户"  />


                    </div>


                    <div class="col-sm-4">
                        <a  href="javascript:submit();"  class="btn waves-effect waves-light btn-all " style="margin-left: 1em;height: 33px;width: 100px;font-size: 18px">搜索</a>
                        <a  href="javascript:reset();"  class="btn waves-effect waves-light btn-all2 " style="margin-left: 1em;height: 33px;width: 100px;font-size: 18px ;background: #4798e8">重置</a>

                    </div>

                </div>

            </form>
        </div>
        <div class="row">
            <div>
                <div class="profile-body">
                    <div class="row margin-bottom-40">
                        <div class="col-sm-6 sm-margin-bottom-20">
                            <div class="panel panel-profile no-bg">

                                <div class="panel-heading overflow-h">
                                    <h2 class="panel-title heading-sm pull-left"><i class="fa fa-cubes" style="margin-right: 5px;"></i>Blocks</h2>
                                    <ul class="wrapper">
                                        <!--<li class="tab-item active"><a href="#" class="btn waves-effect waves-light btn-effective pull-right">View Effective</a></li>-->
                                        <li class="tab-item"><a href="#" class="btn waves-effect waves-light btn-all pull-right" style="margin-right: 1em">View All</a></li>
                                    </ul>
                                </div>
                                <div id="scrollbar2" class="panel-body no-padding mCustomScrollbar" style="height: 580px">
                                    <ul class="products">
                                        <!--<li class="main selected">
                                            #for( x : blockd )
                                            <div class="profile-event">
                                                <div class="date-formats" style='width: 135px; height: 65px; margin-top:2px'><span>Block #(x.attrib_17)</span><small>&gt; #(x.attrib_01)</small></div>
                                                <div class="overflow-h">
                                                    <a href='#' class='address-tag'></a>
                                                    </p>
                                                    <p>
                                                        <a href="#" title="Transactions in this Block"><b>#(x.attrib_18) txns</b></a> in 1 secs</p>
                                                    <p> Block Reward <b>.</b></p>
                                                </div>
                                            </div>
                                            #end
                                        </li>-->
                                        <li class="main selected">
                                            #for( x : blocks.list )
                                            <a href="/sysadmin/block/browser/w-#(x.conflict_id)" title="Transactions in this Block">
                                            <div class="profile-event">
                                                <div class="date-formats" style='width: 135px; height: 65px; margin-top:2px'><span>Block #(x.attrib_17)</span><small>&gt; #(x.attrib_01)</small></div>
                                                <div class="overflow-h">
                                                    <a href='#' class='address-tag'></a>
                                                    </p>
                                                    <p>
                                                        <a href="#" title="Transactions in this Block"><b>#(x.attrib_18) txns</b></a> in 1 secs</p>
                                                    <p> Block Reward 0<b>.</b></p>
                                                </div>
                                            </div>
                                            </a>
                                            #end

                                        </li>
                                    </ul>
                                    #@paginate(blocks.pageNumber, blocks.totalPage, "/sysadmin/block/browser/?" + "p=")
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-6">
                            <div class="panel panel-profile no-bg">
                                <div class="panel-heading overflow-h">
                                    <h2 class="panel-title heading-sm pull-left"><i class="fa fa-list-alt " style="margin-right: 5px;"></i>Transactions</h2>
                                    <span style="color: #999999; font-size: 11px; margin-bottom: -20px; padding-bottom: 0px;"></span>
                                    <ul class="wrapper1">
                                        <li class="tab-block active"><a href="/sysadmin/block/browserEffective" class="btn waves-effect waves-light btn-effective pull-right">View Effective</a></li>
                                        <li class="tab-block"><a href="/sysadmin/block/browser" class="btn waves-effect waves-light btn-all pull-right" style="margin-right: 1em">View All</a></li>
                                    </ul>
                                </div>
                                <div id="scrollbar" class="panel-body no-padding mCustomScrollbar" data-mcs-theme="minimal-dark" style="height: 580px">
                                    <ul class="products1">
                                        <li class="main1 selected">
                                            #for(x : zcs.list)

                                            #for(k : nft)

                                            #if(x.attrib_01 == k.attrib_07)
                                            <div class="profile-post #(['color-one','color-two','color-three','color-four','color-five','color-six','color-seven'][for.index%7])"><span class="profile-post-numb"><img src="../../../../../content/logo/zuanshi.png" width="21" height="20"></span>
                                                <div class="profile-post-in">
                                                    <h3 class="heading-xs">TX# <a href=/sysadmin/block/transDetail3/#(x.attrib_01) class='hash-tag-frontpage' title="Transaction Hash"><font color='#3498db'><span data-r-opts-tag="{'id':#(x.attrib_01)}">#(x.attrib_01)</span></font></a><span class="pull-right" style="font-size: small">&gt; #(x.attrib_13) &nbsp;</span></h3>
                                                    <p>From
                                                        <a href='#' class='address-tag'>#(x.attrib_03)</a> To
                                                        <a href='#' class='address-tag'>#(x.attrib_04)</a>
                                                    </p>
                                                    <p>#(x.attrib_06)</p>
                                                </div>
                                            </div>
                                            #end


                                            #end
                                            <div class="profile-post #(['color-one','color-two','color-three','color-four','color-five','color-six','color-seven'][for.index%7])"><span class="profile-post-numb"><i class="far fa-coins"></i></span>
                                                <div class="profile-post-in">
                                                    <h3 class="heading-xs">TX# <a href=/sysadmin/block/transDetail/#(x.attrib_01) class='hash-tag-frontpage' title="Transaction Hash"><font color='#3498db'><span data-r-opts-tag="{'id':#(x.attrib_01)}">#(x.attrib_01)</span></font></a><span class="pull-right" style="font-size: small">&gt; #(x.attrib_13) &nbsp;</span></h3>
                                                    <p>From
                                                        <a href='#' class='address-tag'>#(x.attrib_03)</a> To
                                                        <a href='#' class='address-tag'>#(x.attrib_04)</a>
                                                    </p>
                                                    <p>#(x.attrib_06)</p>
                                                </div>
                                            </div>

                                            #end
                                        </li>
                                        <li class="main1">
                                            #for(x : zcs.list)
                                            <div class="profile-post #(['color-one','color-two','color-three','color-four','color-five','color-six','color-seven'][for.index%7])"><span class="profile-post-numb"><i class="far fa-coins"></i></span>
                                                <div class="profile-post-in">
                                                    <h3 class="heading-xs">TX# <a href=/sysadmin/block/transDetail/#(x.attrib_01) class='hash-tag-frontpage' title="Transaction Hash"><font color='#3498db'><span data-r-opts-tag="{'id':#(x.attrib_01)}">#(x.attrib_01)</span></font></a><span class="pull-right" style="font-size: small">&gt; #(x.attrib_13) &nbsp;</span></h3>
                                                    <p>From
                                                        <a href='#' class='address-tag'>#(x.attrib_03)</a> To
                                                        <a href='#' class='address-tag'>#(x.attrib_04)</a>
                                                    </p>
                                                    <p>#(x.attrib_06)</p>
                                                </div>
                                            </div>
                                            #end
                                        </li>
                                    </ul>
                                    #@paginate(zcs.pageNumber, zcs.totalPage, "/sysadmin/block/browser/"+kxzh+"?" + "p1=")
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>
#end

#define window()
<div id="wndEdit"></div>
#end
<style>
    .overflow-h {
        overflow: hidden;
    }

    h3.heading-xs {
        font-size: 14px;
        margin-bottom: 0;
    }

    .btn-u.btn-brd.btn-u-dark.btn-brd-hover:hover {
        background: #18a689;
    }

    .sm-margin-bottom-20 {
        margin-bottom: 20px;
    }

    .no-padding {
        padding: 0 !important;
    }

    @media (max-width: 480px) {
        .hidden-su-xs {
            display: none !important;
        }
    }

    @media (min-width: 481px) {
        .visible-su-xs {
            display: none;
        }
    }
    .products .main {
        display: none;
    }

    .products .main.selected {
        display: block;
    }
    .products1 .main1 {
        display: none;
    }

    .products1 .main1.selected {
        display: block;
    }
</style>
#define css()
#(yx.css("/content/pc/sysmgt/block/custom-head-foot-scroll-blue.css"))
#(yx.css("/content/pc/sysmgt/block/perfect-scrollbar.css"))
#(yx.css("/content/pc/sysmgt/block/profile.css"))
#(yx.css("/content/pc/sysmgt/block/style-mod.css"))
#(yx.css("/content/pc/sysmgt/block/waves.css"))
#end

#define js()
#(yx.js("/lib/jquery/jquery-ui.js"))
#(yx.js("/script/pc/sysmgt/block/browser.js"))
#(yx.js("/script/pc/sysmgt/block/combine-js-bottom.js"))
#(yx.js("/script/pc/sysmgt/block/waves.js"))
#end
